package com.baitiaojun.auth.service.impl;

import com.baitiaojun.api.domain.auth.AuthRoleElementOperation;
import com.baitiaojun.auth.mapper.AuthRoleElementOperationMapper;
import com.baitiaojun.auth.service.AuthRoleElementOperationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

/**
 * @类名 AuthRoleElementOperationServiceImpl
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/7 21:17
 * @版本 1.0
 */
@Service
public class AuthRoleElementOperationServiceImpl implements AuthRoleElementOperationService {

    @Resource
    private AuthRoleElementOperationMapper authRoleElementOperationMapper;

    @Override
    public List<AuthRoleElementOperation> getRoleElementOperations(Long roleId) {
        return authRoleElementOperationMapper.selectAuthRoleElementOperationByRoleIds(roleId);
    }
}
